package com.jingtai.shop.service.user;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jingtai.core.entity.member.MemberCollectStore;

/**
 * 收藏店铺
 */
public interface MemberCollectStoreService extends IService<MemberCollectStore> {

    /**
     * 用户查看自己收藏的店铺列表
     */
    Page<MemberCollectStore> showCollectStore(Long userId,Long pageNo,Long pageSize);

    /**
     * 点击收藏/取消店铺
     */
    boolean collectStore(Long storeId,Long userId,Integer collectStatus);

}
